package com.springboot.service;

import java.math.BigDecimal;
import java.util.List;

import com.springboot.po.Orders;

public interface OrdersService {
	public int createOrders(Orders orders);
	//注意返回的是orderid
	public Orders getOrdersById(Integer orderId);
	public List<Orders> listOrdersByUserId(String userId);
	public int updateOrderState(Integer orderId, Integer orderState);
	public int setOrderTotal(Integer orderId , BigDecimal orderTotal);
}
